#ifndef Pub_pop_get_item_H
#define Pub_pop_get_item_H

#include <QDialog>
#include <QSqlQuery>
#include <QSqlQueryModel>
#include <QTimer>

namespace Ui {
class Pub_pop_get_item;
}

class Pub_pop_get_item : public QDialog
{
    Q_OBJECT

public:
    explicit Pub_pop_get_item(QWidget *parent = nullptr);
    ~Pub_pop_get_item();

signals:
//    void retStr(QString );

public slots:

    void setDisplay(QSqlQueryModel & md, QRect rct, QString tip, QString sep);

    //void getSql(QString);
    QString retStr();

private slots:



    void on_buttonBox_accepted();

    void on_buttonBox_rejected();

    void tmot();

    void on_tvList_doubleClicked(const QModelIndex &index);

private:
    Ui::Pub_pop_get_item *ui;

    int columns;
    QTimer tm;
    QString columnWidths;
    QString retValue;
};

#endif // Pub_pop_get_item_H
